package database

import "gorm.io/gorm"

type Options struct {
	Type     string
	User     string
	Password string
	Host     string
	DbName   string
	Port     int
	Prefix   string
	Debug    bool
}

// SqlClient for all database interface
type SqlClient interface {
	Connect(opt *Options) *gorm.DB
}
